package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.wicket.okrbff.common.annotations.TreeType;
import java.util.Objects;

/**
 * @desc BffSubordinateTargetContentCycleDto
 * @使用场景
 */
@Data
public class BffSubordinateTargetContentCycleDto implements Serializable {

  /**
   * 目标内容ID
   */
  @TreeType("pid")
  @ApiModelProperty("目标内容ID")
  private String tagetContentId;

  /**
   * 目标内容名称
   */
  @ApiModelProperty("目标内容名称")
  private String targetContentName;

  /**
   * 对象名称
   */
  @ApiModelProperty("对象名称")
  private String objectName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffSubordinateTargetContentCycleDto that = (BffSubordinateTargetContentCycleDto) o;
      return  tagetContentId == that.tagetContentId&&targetContentName == that.targetContentName&&objectName == that.objectName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), tagetContentId,targetContentName,objectName);
    }

}
